package com.pro.service.imple;

import com.pro.mapper.JsLogMapper;
import com.pro.pojo.*;
import com.pro.service.JsLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JsLogServiceImple implements JsLogService {

    @Autowired
    private JsLogMapper jsLogMapper;

    @Override
    public List<JsLog> getProductJsLog(JsLog jsLog) {
        return jsLogMapper.getProductJsLog(jsLog);
    }

    @Override
    public boolean addProductJsLog(JsLog jsLog) {
        return jsLogMapper.addProductJsLog(jsLog);
    }

    @Override
    public boolean deleteProductJsLog(Integer logId) {
        return jsLogMapper.deleteProductJsLog(logId);
    }

    @Override
    public boolean addJsLogMicroCircle(JsLog param) {
        return jsLogMapper.addJsLogMicroCircle(param);
    }


    @Override
    public List<JsLog> getJsLogMicroCircle(JsLog jsLog) {
        return jsLogMapper.getJsLogMicroCircle(jsLog);
    }

    @Override
    public boolean deleteJsLogMicroCircle(Integer jsLog) {
        return jsLogMapper.deleteJsLogMicroCircle(jsLog);
    }
}
